import tornado.ioloop
import tornado.web

# get  post


class MainHandler(tornado.web.RequestHandler):
    def get(self):
        self.write('Hello,扛把子们')

def make_app():
    return tornado.web.Application(handlers=[
        (r'/hello',MainHandler),
    ])

if __name__ == "__main__":

    app = make_app()
    app.listen(8888)
    tornado.ioloop.IOLoop.current().start()
